package com.atguigu.service;

import com.atguigu.BaseService.BaseService;
import com.atguigu.entity.Dict;

import java.util.List;
import java.util.Map;

public interface DictService  extends BaseService<Dict> {

    List<Map<String,Object>> findZnodes(Long id);
/*根据parentId获取子节点数据列表*/
    List<Dict> findListByParentId(Long parentId);
/*根据编码获取子节点数据列表*/
    List<Dict> findListByDictCode(String dictCode);

    String getNameById(Long dictId);
}
